package com.bnz.portal.dao;

import com.bnz.portal.entity.ContentEntity;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @author xy
 * @date 2022/11/9
 */
@Repository
public interface ContentDao extends JpaRepository<ContentEntity,String> {

    List<ContentEntity> findByCategoryId(String id);
}
